﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using xKnight.Attacking;
using xKnight.Attacking.CSRF;

namespace xKnight.Attacker.CSRF
{
    public class CsrfAttackAnnounceItem : AttackAnnounceItem
    {
        public string FormAction { get; private set; }
        public string FormMethod { get; private set; }
        public AttackStatus AttackStatus { get; private set; }
        
        public CsrfAttackAnnounceItem(string formAction, string formMethod, AttackStatus attackStatus, CsrfAttackingSharedResource attackingSharedResource, string description, DateTime dateTime
            , int pageResponseCode, string pageResponseDescription, string url)
            : base(attackingSharedResource, description, dateTime, pageResponseCode, pageResponseDescription, url)
        {
            this.FormAction = formAction;
            this.FormMethod = formMethod;
            this.AttackStatus = attackStatus;
        }
    }
}
